<template>
  <div align="center">
    <h2>房型修改页面</h2>
  <!-- <table border="1">
    <tr>
      <td>房间号</td>
      <td>
        <input type="text" v-model="state.hN_id">
      </td>
    </tr>
    <tr>
      <td>房型</td>
      <td><input type="text" v-model="state.h_name"></td>
    </tr>
    <tr>
      <td>房型面积</td>
      <td><input type="text" v-model="state.h_area"></td>
    </tr>
    <tr>
      <td>价格</td>
      <td>
        <input type="text" v-model="state.h_price">
      </td>
    </tr>
    <tr>
      <td></td>
      <td>
        <input type="button" value="修改">
      </td>
    </tr>
  </table> -->
  </div>
</template>

<script setup lang="ts">
// import { reactive,toRefs } from 'vue';
// import axios from 'axios';

// import { useRouter } from 'vue-router';
// let router = useRouter()

// let data = reactive({
//   state:{
//     hN_id:'',
//     h_name:'',
//     h_area:'',
//     h_price:'',
//   }
// })
// let {state} = toRefs(data)

// const add=()=>{
//       alert("房型修改成功");
//       router.push('/houselist')  
// }
</script>

<style scoped>

</style>